<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			var x=10,y=20;
			//加法
			console.log(x+y);
			//减法
			console.log(x-y);
			//乘法
			console.log(x*y);
			//除法
			console.log(x/y);
			//取余
			console.log(x%y);
			//自增
			console.log(x++);
			//自减
			console.log(x--);
			
			//赋值
			//=
			x = y;
			//+=
			x+=y;
			//-=
			x-=y;
			//*=
			x*=y;
			///=
			x/=y;
			//%=
			x%=y;
			
			//字符串相加运算结果
			var t1="aaa0",t2+"aaasq";
			console.log(t1+t2);
			
			//数字与字符串进行加法运算
			console.log(t1+x);
			
		</script>
	</body>
</html>